home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / ea.htm < prev    next >
Encoding:
Extensible Markup Language  |  2006-08-04  |  4.9 KB  |  135 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html
  3. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  4. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6.     <head>
  7.         <meta http-equiv="MSThemeCompatible" content="yes" />
  8.         <link href="ccc.css" type="text/css" rel="STYLESHEET" />
  9.             <script src="ccc.js"></script>
  10.             <script language="javascript">
  11.             <!--
  12.             function OnTxtFieldChanging()
  13.             {
  14.                 var oKey = document.getElementById("txtKey");
  15.                 var oAct = document.getElementById("txtActivationCode");
  16.  
  17.                 if (oKey != null)
  18.                     location = "pcucmd://StoreParam?key=" + oKey.value;
  19.  
  20.                 if (oAct != null)
  21.                     location = "pcucmd://StoreParam?activationcode=" + oAct.value;
  22.  
  23.                 var bEnable = false;
  24.                                 var oBtn = document.getElementById("btnPhone");
  25.                 if (oKey != null && ValidateSerial(oKey.value))
  26.                 {                    
  27.                     if (oBtn != null)
  28.                     {
  29.                         oBtn.disabled = false;
  30.                     }
  31.                     if (oAct != null &&
  32.                         ValidateActCode(oAct.value))
  33.                     {
  34.                         location="pcucmd://CanContinue?enable=true";
  35.                         bEnable = true;
  36.                     }
  37.                 }
  38.                 else
  39.                 {
  40.                     if (oBtn != null)
  41.                     {
  42.                         oBtn.disabled = true;
  43.                     }
  44.                 }
  45.                 if (!bEnable)
  46.                 {
  47.                     location="pcucmd://CanContinue?enable=false";
  48.                 }
  49.             }
  50.             function OnConnect()
  51.             {
  52.                 location="pcucmd://Connect";
  53.                 var oKey = document.getElementById("txtKey");
  54.                 if (oKey != null && oKey.value.length != 0)
  55.                 {
  56.                     location="pcucmd://Activate?admin=yes&condition=yes";
  57.                     location="pcucmd://Next?condition=true";
  58.                 }
  59.                 else
  60.                 {
  61.                     location="pcucmd://SetSequence?name=RetrieveKey&admin=yes&condition=yes";
  62.                 }
  63.             }
  64.             function OnPhone()
  65.             {
  66.                 var oKey = document.getElementById("txtKey");
  67.                 if (oKey != null && oKey.value.length != 0)
  68.                 {
  69.                     location="pcucmd://SetKey?admin=yes&key="+oKey.value;
  70.                     location="pcucmd://Extend?condition=true";
  71.                     location="pcucmd://SetSequence?name=ExActOffline&condition=true";
  72.                 }
  73.             }
  74.             -->
  75.             </script>
  76.     </head>
  77.     <body onload="location='pcucmd://FrameDataLoaded'" tabindex="-1">
  78.         <div id="pcu_data" style="DISPLAY: none">
  79.             PageDimension:630,440
  80.         </div>
  81.         <div id="ButtonBar" style="display:none">
  82.             <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" ID="Table1">
  83.                 <tr>
  84.                     <td align="right">
  85.                         <button accesskey="B" type="button" id="btnBack" name="btnBack" onclick="location='pcucmd://SetLastSequence/'">< <u>B</u>ack</button>
  86.                         <button accesskey="O" type="submit" id="btnContinue" name="btnContinue" disabled="true" onclick="window.focus(); event.srcElement.focus(); location='pcucmd://Unlock?admin=yes'; location='pcucmd://Next?condition=true'">C<u>o</u>ntinue</button>
  87.                         <button accesskey="C" type="button" id="btnCancel" name="btnCancel" onclick="window.focus(); event.srcElement.focus(); location='pcucmd://Cancel/'"><u>C</u>ancel</button>
  88.                     </td>
  89.                 </tr>
  90.             </table>
  91.         </div>
  92.         <br />
  93.         <p>
  94.             <label for="txtKey" accesskey="K">Please enter your <u>k</u>ey: </label><input type="text" id="txtKey" size="36" NAME="txtKey" onkeyup="OnTxtFieldChanging()" />
  95.         </p>
  96.         Then choose the most appropriate option below:
  97.         <br />
  98.         <br />
  99.         <table style="width: 100%" cellpadding="0" cellspacing="0">
  100.             <tr style="vertical-align:top">
  101.                 <td style="padding: 10px; width: 33%; border-right-width:thin; border-right-color:Silver; border-right-style:solid">
  102.                     <p><B>Connect to Internet?</B></p>
  103.                     <p>Connect to the Internet to activate your product. 
  104.                     Corel Account sign-in may be required.</p>
  105.                 </td>
  106.                 <td style="padding:10px; width:33%; border-right-width:thin; border-right-color:Silver; border-right-style:solid;">
  107.                     <p><B>Working off-line?</B></p>
  108.                     <p>Contact a Corel Customer Service representative in your area to activate the product.</p>
  109.                 </td>
  110.                 <td style="width: 34%; vertical-align:baseline; padding: 10px">
  111.                     <p><B>Already have an activation code?</B></p>
  112.                     <p>Enter your Activation code below and choose continue to proceed.</p>
  113.                 </td>
  114.             </tr>
  115.             <tr>
  116.                 <td style="border-right: silver thin solid; vertical-align: baseline; width: 33%">
  117.                     <p align="center">
  118.                     <button accesskey="N" type="button" ID="btnConnect" NAME="btnConnect" onclick="OnConnect()">Co<u>n</u>nect</button>
  119.                     </p>
  120.                 </td>
  121.                 <td style="border-right: silver thin solid; vertical-align: baseline; width: 33%">
  122.                     <p align="center">
  123.                     <button accesskey="P" type="button" ID="btnPhone" NAME="btnPhone" disabled="true" onclick="OnPhone()"><u>P</u>hone Corel</button>
  124.                     </p>
  125.                 </td>
  126.                 <td style="vertical-align: baseline">
  127.                     <p align="center">
  128.                     <input type="text" style="margin-left:5px; margin-right:5px; width:100%" id="txtActivationCode" onkeyup="OnTxtFieldChanging()" />
  129.                     </p>
  130.                 </td>
  131.             </tr>
  132.         </table>
  133.     </body>
  134. </html>
  135.